import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)
const HomePage = () => import('../views/HomePage')
import MarketingManagementSystem from "../views/MarketingManagementSystem.vue";
import MarketingPartManagementSystem from "../views/MarketingPartManagementSystem.vue";
import AboutMarketing from "../views/AboutMarketing.vue";
import * as path from "path";

const router = new VueRouter({
  mode: 'history',
  base: __dirname,
  routes: [{
      path: '/',
      component: HomePage,
    },
    {
      path: '/MarketingManagementSystem',
      name: 'MarketingManagementSystem',
      component: MarketingManagementSystem
    },
    {
      path: '/AboutMarketing',
      name: 'AboutMarketing',
      component: AboutMarketing
    },
    {
      path: '/MarketingPartManagementSystem',
      name: 'MarketingPartManagementSystem',
      component: MarketingPartManagementSystem
    },
  ]
});


export default router;
